package com.youlai.system.converter;

import com.youlai.system.model.entity.HotBrandMenu;
import com.youlai.system.model.form.HotBrandForm;
import com.youlai.system.model.vo.HotBrandVO;
import org.mapstruct.Mapper;

/**
 * 菜单对象转换器
 *
 * @author haoxr
 * @since 2022/7/29
 */
@Mapper(componentModel = "spring")
public interface HotBrandConverter {

    HotBrandVO entity2Vo(HotBrandMenu entity);

    HotBrandForm entity2Form(HotBrandMenu entity);

    HotBrandMenu form2Entity(HotBrandForm brandForm);

}